package com.mit.wx.service.impl;

import com.mit.wx.entity.AccessToken;
import com.mit.wx.service.AccessTokenService;
import org.springframework.stereotype.Service;

/**
 * 2018/10/9 Create by 郭文梁
 * AccessTokenServiceImpl
 * AccessToken服务实现类
 *
 * @author 郭文梁
 * @date 2018/10/9
 */
@Service
public class AccessTokenServiceImpl implements AccessTokenService {
    private volatile AccessToken accessToken;

    @Override
    public AccessToken getAccessToken() {
        return accessToken;
    }

    @Override
    public void setAccessToken(AccessToken accessToken) {
        this.accessToken = accessToken;
    }
}
